package com.factorit.business.dao;

import java.util.List;

import org.springframework.orm.hibernate3.HibernateTemplate;

public interface GenericDao {

	public Object get(String className, Long id);

	public List<Object> getAll(String className);
	
	public void save(Object record);

	public void delete(String className, Long id);

	public HibernateTemplate getHibernateTemplate();

	public void delete(Object obj);
	
	public void refresh(Object object);
}
